import { defineStore } from 'pinia';

interface State {
	userInfo: object | null;
	token: string | null;
}

export const useUserStore = defineStore('user-store', {
	state(): State {
		return {
			userInfo: null,
			token: null,
		};
	},
	actions: {},
	persist: true,
});
